package com.ljp.sample;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.jp.GenericCallback;
import com.jp.IntervalSelector;
import com.jp.SpecificBusiness;

public class MainActivity extends AppCompatActivity {
private IntervalSelector intervalSelector;
private SpecificBusiness specificBusiness;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        intervalSelector=findViewById(R.id.intervalSelector);
        specificBusiness= new SpecificBusiness(intervalSelector, (GenericCallback<Boolean, Void, Void, Void>) (aBoolean, aVoid, aVoid2) -> null);
        specificBusiness.initLR(0, 200);
    }
}